package com.ke.searchhouse.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author  keke
 * @create  2018/10/30 0030 下午 8:50
 * @desc
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HouseIndexMessage {
    public static final String INDEX = "index";
    public static final String REMOVE = "remove";
    public static final Integer MAX_RETRY = 3;

    private Long houseId;

    private String operation;

    private int retry = 0;

}
